package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 收款帐号
 * </p>
 *
 * @author hpiggy
 * @since 2025-01-01
 */
@Data
@TableName("audit_receivable_account")
@ApiModel(value = "AuditReceivableAccount对象", description = "收款帐号")
public class AuditReceivableAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("支付类型：1支付宝，2银行卡")
    private Integer payType;

    @ApiModelProperty("所属老师id")
    private Long teacherId;

    @ApiModelProperty("帐号名")
    private String accountName;

    @ApiModelProperty("帐号")
    private String accountNo;

    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;


}
